public class weapons extends weapon {
    public weapons(int t){
        switch(t){
            case 1:
			this.setType("[无锋剑]");
			this.setLife(150);
			this.setAttack(10);
			this.setDefend(5);
			break;
            case 2:
			this.setType("[旅行剑]");
			this.setLife(350);
			this.setAttack(30);
			this.setDefend(25);
			break;
            case 3:
			this.setType("[黎明神剑]");
			this.setLife(450);
			this.setAttack(40);
			this.setDefend(30);
			break;
            case 4:
			this.setType("[天目影打刀]");
			this.setLife(550);
			this.setAttack(50);
			this.setDefend(45);
			break;
            case 5:
			this.setType("[雾切之回光]");
			this.setLife(750);
			this.setAttack(80);
			this.setDefend(65);
			break;
        }
    }
}
